package cn.cmcc.intertelecom.bean;

import java.util.Arrays;
import java.util.Date;

public class RoleGroup {
    private Integer id;

    private Integer roleId;
    
    private Integer[] roleIds;

    private String roleName;

    private Integer userId;

    private String userName;

    private Date createdate;

    public Integer[] getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(Integer[] roleIds) {
		this.roleIds = roleIds;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

	@Override
	public String toString() {
		return "RoleGroup [id=" + id + ", roleId=" + roleId + ", roleIds=" + Arrays.toString(roleIds) + ", roleName="
				+ roleName + ", userId=" + userId + ", userName=" + userName + ", createdate=" + createdate + "]";
	}
    
    
}